home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 13 / Mac Magazin and MacEasy Magazine CD - Issue 13.iso / Musik / SoundView folder / SoundView ReadMe < prev   
Text File  |  1995-08-05  |  13KB  |  133 lines

  1. SoundView
  2. Steve Bird  
  3. SBird@SwRI.edu
  4. May 24, 1995
  5. Version 1.1.0   Updated Aug 7,1995 
  6.                                                                                                     
  7. What's all this, then?
  8.   This FREEWARE package allows the user to view the time-wave and frequency spectrum LIVE from any Macintosh® sound input device.  Real-time display is possible on faster Macintoshes;  display rates of >110 frames per second are possible on a Power Mac 8100/100; >35 fps on a Quadra 950.  A "Waterfall", or raster plot of previous spectral history, is presented in a separate window. Recording and playback of monophonic 8-bit sound is supported; a spectrogram can be made of the captured data; whether recorded by SoundView, or imported from a sound file. A readout provides the frequency value of a point specified by the mouse cursor. 
  9.                                                                                                     
  10. This package contains:
  11. • This file: "SoundView ReadMe".
  12. • The application itself. No special installation is required.
  13.                                                                                                     
  14. System Requirements:
  15. Any Macintosh computer with:
  16. • A 68020 or better processor.   (FPU is NOT required. )
  17. • A sound input device.
  18. • Sound Manager 3.0 (built into system 7.5, an extension for earlier systems).
  19.                                                                                                     
  20. How to run:
  21. • Open the application "SoundView".
  22. • Use the INPUT DEVICE selection in the OPTIONS menu to choose from among available devices.
  23. • Use balloon help for assistance regarding the menu choices.
  24.                                                                                                     
  25. How to run fast:
  26. For maximum speed (in decreasing order of benefit):
  27.    • Set your main monitor to 256 colors.
  28.    • Set the Block Size to 256.
  29.    • Set the Sample Rate in the OPTIONS menu to the highest value allowed.
  30.    • If you have more than one monitor, don't let any window overlap a boundary between them.
  31.    • Close other backgrounding programs (Especially Launcher - why, I do not know....)
  32.    • Reduce ΔX , ΔY,  #Lines in the WATERFALL menu.
  33.    • Close the Time or Waterfall windows, whichever you do not need.
  34.    • Disable extensions. The claimed speeds are conservative, I have found. If I disable all extensions, the speed on a 8100/80 has been as high as 138 FPS!!!!    Timbuktu / Remote and MacsBug are some of the largest time thieves.
  35.    • Turn off 'Lines Mode' in the OPTIONS menu.  
  36.    • Turn off 'Sync' in the OPTIONS menu. 
  37.    • Turn off TimeWave or Frequency display in OPTIONS menu. 
  38.    • Close the Spectragram and Capture windows.
  39.    • Play a Stevie Ray Vaughan CD.    (;->)
  40.                                                                                                     
  41. Other things not described in the balloons:
  42.    • In the WATERFALL menu, set ΔX to zero and the mouse frequency readout becomes active in the waterfall window.
  43.    • In the WATERFALL menu, set both ΔX and ΔY to zero and you have a peak-hold display.
  44.    • Click in the Waterfall window (when it's frontmost) to clear the old data.
  45.    • In the Captured window, the radio buttons are used to zoom in on the captured data.  When zoom factor is > 1, use the scroll bar to move the view.
  46.    • The time taken to make a spectrogram does NOT depend on the length of the captured data. Exactly 512 FFTs are performed, whether the data is 2 seconds or 200 seconds long. This results in 512 columns in the window. The block size setting, and CPU speed, are the primary factors affecting spectrogram speed.
  47.    • You can re-make the spectrogram with a different block size without re-recording. This allows you to change range and resolution.
  48.    • The Frames per Second number in the SPEED menu is affected by perusing the menus, the About box, or switching from background. Allow about 3 seconds after any of these before the reading is accurate. ( This number is averaged. )
  49.    • The µSec numbers in the SPEED menu are valid only for the most recent operation. If the operation was interrupted (by mouse, disk, network, or who-knows-what), these numbers are adversely affected.  Do not base anything on a single reading.
  50.                                                                                                     
  51. For those suitably demented:
  52. The source code is available via GOPHER or FTP (NOT WorldWideWeb)  to: 
  53. WWW.PHYSICS.SWRI.EDU
  54. Includes:
  55.    • World's fastest* Fourier transform for PPC & 68K.
  56.    • World's fastest* integer SquareRoot for PPC & 68K.
  57.    • Fast line drawing (thanks, Mr. Bresenham!)
  58.    • Offscreen drawing and screen blasting.
  59.    • Building FAT projects.
  60.    • Balloon help for menu items.
  61. * well, I didn't actually consult Mr. Guinness - if anyone can find a faster algorithm, please let me know.
  62.  
  63.   The latest version can be found there, too.
  64.                                                                                                     
  65. Obligatory Verbiage in the Form of a Disclaimer:
  66. This is not an official product of my employer, despite possible implications by previous versions.
  67.                                                                                                     
  68. Version history:
  69. 1.1.0 - Aug 7,1995.
  70. • Added ability to read AIFF files. The OPEN command in the FILE menu now will list them as readable.
  71. • Added ability to read AIFF-C files if they don't have compression.
  72. • Removed the DC Removal option; it's now on all the time.  Since not many input devices pass DC, it was of limited use.
  73. • Improved memory management by disposing of offscreen buffer supporting Waterfall window when window is closed, and re-allocating it when re-opened. This brings up the possibility of failure when re-opening the window (because memory was used for something else). If that occurs, the # lines, ΔX, and ΔY are reduced, and the allocation is re-tried before giving up. If this is a problem, allocate more memory to SoundView in the "Get Info" box from the Finder.
  74. • Improved memory management by using almost all of remaining RAM allocation for recording.  Available recording time (or loadable file size) is no longer fixed, but depends on how much RAM you give to SoundView in the "Get Info" box from the Finder. 
  75. • New "Stop Playback" item in CAPTURE menu or command-period now stops playback of captured audio.
  76. • When a sound file is read or saved, the title of the captured audio window is now changed to the name of the file.
  77. • When a spectrogram is made, the title of the spectrogram window is now changed to "Spectrogram of: " and the name of the file (if any).
  78. • The SPEED menu now has valid µSec values on 68K Macs. (Previous versions only had valid values on Power Macs).
  79. • The SPEED menu now has a "Max possible" item, referring to frames per second. This is obtained by dividing the sample rate by the block size.
  80. • Figured out control color tables, so now the captured window has the same look as the rest. (Previously, I couldn't use a black background because the radio buttons disappeared). The bad news is that the minimum & preferred allocations have increased.
  81. • Added x256 and x512 selections to CAPTURED window, because of increased space.
  82. • Added mouse readout of time in CAPTURED window.
  83. • Added visible scale to CAPTURED window. The window labels seconds, and draws tick marks every 0.05 seconds.
  84. • Fixed bug where reading a file would not re-figure the scale factors correctly in the CAPTURED window. Things would not be right until you set a new zoom factor.  Now, setting a zoom factor, then reading a file, works OK.
  85. • Fixed bug where failure when allocating an offscreen video buffer could lead to a crash, not to an error message. (I just gotta get a ppc Pascal compiler - why C lets you get away with this *&!@%^$#!! stuff, I don't know!).
  86. • Fixed bug where I wrongly figured the number of bytes in the main GWorld.  This had no visible effect, because the missed bytes happened to be unchanged during operation.  (Discovered when I changed to BlockMove instead of CopyBits in the 'InitMainWindow' routine.)
  87. • Fixed bug where switch between cross and arrow cursors wouldn't always happen.
  88. • The cursor is now changed to a watch when making a spectrogram.
  89. • Added logarithmic frequency scale option to the OPTIONS menu. A number of people have requested this, so here it is. It's not real high-performance, but I believe it is mathematically correct. It eats memory like crazy. To use log mode at the higher block sizes, YOU MAY HAVE TO INCREASE SOUNDVIEW'S MEMORY ALLOCATION. From the Finder, choose "Get Info" from the FILE menu, and enter 4000 into the preferred size box.  The mouse readouts are correct in log mode, although one bug remains: If you make a spectrogram in one mode (log or linear), then switch to the other mode, the spectrogram mouse readout is incorrect.  Log mode spectrograms are not recommended on 68K machines. (Perhaps I should change the watch cursor to a calendar.  ;-)
  90.  
  91. 1.0.9 - Jun 14,1995.
  92. • Fixed bug where waterfall lines (with lines mode ON) were 2 pixels tall even with zero amplitude. (introduced with 1.0.8 "cleanup" )
  93. • Properly centered display of X mouse readout in spectrogram window. Previously, times >= 10.00 seconds left residue on screen.  (mouse droppings?  :•>)
  94. • Fixed bug where saving a sound into an existing file would not replace the 'snd ' resources there, but would add another resource.  Now it deletes any and all 'snd ' resources before saving the new one.
  95. • In lines mode, went back to old (1.0.2) method of drawing lines in waterfall window only, i.e., from amplitude 0 to amplitude 1 to amplitude 2,  because it looks better... Spectrum drawing in main window is still vertical lines from 0 to amplitude 0, from 0 to amplitude 1... (in lines mode).  
  96. • Added ability to read WAV files ( from WINDOZE ).  File name must end in '.WAV'  (caps required).
  97. • Added more speech about menu items chosen. (Sync, Lines Mode, etc. )
  98. • Fixed bug where making spectrogram of short sound with large block size produced garbage at the end of the spectrogram.
  99. • Restored proper operation of calibration keys (Press OPTION, SHIFT, and/or CONTROL).  This creates a pure sine wave at 1 of 8 frequencies at one-half full scale amplitude, instead of the input signal. (Turn on LINES MODE to better see it). They were always there, but poor event handling didn't recognize them unless some other event occurred.
  100. • Added MARKs for all routines in all files (I think). Marks had not kept up with me.
  101. • Fixed bug where asking for a RECORD operation on some machines, in some circumstances (Thanks, Clare!!!) would cause program to quit with an unreasonable error explanation.
  102.  
  103. 1.0.8 - Jun 6,1995.
  104. • Fixed bug when switching to / from background.
  105. • Fixed bug in debugging code (!!!), which had not kept up with changes elsewhere, because it was disabled. Did not affect released app, but could not compile source with my debugging code enabled.
  106. • Fixed bug in menu display of non-integer sample rates. They were rounded to integer values, for no good reason.
  107. • Fixed bug in balloon help regarding rainbow/grayscale choices.
  108. • Fixed bug where if some other program had set the input sample rate to less than the highest value available, SoundView was incorrectly assuming the highest setting. Now I actually set it upon startup.
  109. • Fixed bug where if you captured a large sound, or were otherwise short on memory, then expanded the waterfall ΔX, ΔY, or #lines, the window would expand, but the offscreen buffer supporting it might not. Results were colorful, and amusing, but not useful. Now you get a 'no can do' message.
  110. • Fixed bug: SPECTRUM BOOST did not work on 68K version. Now it does.
  111. • Moved waterfall window to the left side of the screen, and the time / spectrum window to the right. This is because the waterfall window expands downward and rightward, and was expanding offscreen.
  112. • Finished commenting and cleaning up all code. Removed a few obsolete routines, unnecessary #INCLUDE directives, etc.
  113.  
  114. 1.0.7b- Jun 2,1995.  Not sent to archives, but available on server.
  115. • Removed gratituitous references to my employer, replaced with more appropriate logo.
  116. • Corrected spelling of "Spectragram" to Spectrogram" throughout source code (Thanks, Paul!).  This includes the files named "Spectragram.c" and "Spectragram.h". (Hey, at least I was consistent!  :-)
  117.  
  118. 1.0.7a- Jun 1,1995.  Not sent to archives, but available on server.
  119. •  Source code was cleaned up and comments added.  No bug fixes or functional changes. 
  120. •  Added the 'Other Things..' section above. 
  121. •  Changed 'System Requirements' section above to reflect the fact that some code requires a 68020 processor, at least. (Previous version said 'Any Macintosh').
  122.  
  123. 1.0.7 - May 30,1995.
  124. •  Changed to compile with 'weak' link to PowerMac speech library, so that if Speech Manager is not present, MacOS will not complain.  68K version not affected.  Thanks to all who reported this.
  125.  
  126. 1.0.6 - May 26,1995.
  127. • First public release.  
  128.                                                                                                    
  129. Please send E-mail to the above address with comments or questions.
  130. Let me know what use you can make of SoundView.
  131.  
  132. Macintosh is a trademark of Apple Computer, Inc.
  133.